import {ToggleButton} from "./ToggleButton.js";

let test1 = ToggleButton(document.querySelector(".testButton"));

test1.addClickRespon();

test1.setSize(1);
window.addEventListener("resize", () => {
    test1.setSize(1);
})

test1.setCheckedCallBack(() => {
    console.log("YES");
});

test1.setNoCheckedCallBack(() => {
    console.log("NO");
})